package com.wyait.manage.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;


/**
 * 文章表
 */


@Data
public class Article {
    private Integer id;
    private String title;
    private Integer menuId;  //关联的一级菜单id
    private String content;   //文章内容
    private Integer status;  //状态?0发布/1草稿
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
}
